﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdministrationMgmView.aspx.cs" 
Inherits="Skynet.WebSite.Administration.AdministrationMgmView"  MasterPageFile="~/LateralMaster.master" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<%@ Import Namespace="Skynet.WebAdministracion.Constants" %>
<%@ Import Namespace="Skynet.WebFoundation.Constants" %>
<%@ Import Namespace="Infrastructure.Web.Extensions" %>
<%@ Register Assembly="Infrastructure.Web" Namespace="Infrastructure.Web.Controls" TagPrefix="inf"   %>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" language="javascript">
//        $(document).ready(function () {

//            var app = "Skynet";
//            var action = "WebSiteAdministrationDesignExamCategories";            
//            $.get('http://localhost:10001/BCSecurityQueries.svc/ValidateUsername', {ApplicationName: "Skynet",  ActionName : "WebSiteAdministrationDesignExamCategories" , UserName : '<%= User.Identity.Name %>' } , OnSucess);

//        });
//        function OnSucess(result) {
//            if (result.text == "true") {
//                $("#DesignCategories").show();
//            }
//            else {
//                $("#DesignCategories").hide();
//            }
//        }
    </script>
</asp:Content>

<asp:Content ID="Content1" runat="server" contentplaceholderid="LateralContent">
    
    <table width="100%">



        <tr><td>  <h1>Owlvey Administration  </h1> </td> </tr>

        <tr>
            <td>    
                <asp:LinkButton ID="lbOraganization" Text="Organizations"  runat="server" 
                    onclick="lbOraganization_Click"  />                
            </td>
         </tr>

        <tr>
            <td>    
                <%= HtmlHelper.RouteHyperlink(ViewNames.Administration.Names.DesignExamCategories, "Exam Categories") %>             
                <div id="DesignCategories">
                    
                </div>               
            </td>
         </tr>
         <tr>
            <td> 
                <asp:LinkButton Text="Exams"  OnClick="designExam_Click" runat="server" 
                    meta:resourcekey="LinkButtonResource1" />                
            </td>
         </tr>
         <tr>
            <td> 
                &nbsp;</td>
         </tr>
         <tr>
            <td> 
                <asp:LinkButton Text="Customers" runat="server"  OnClick="designCustomer_Click" 
                    meta:resourcekey="LinkButtonResource2"/>                
            </td>
         </tr>
         <tr>
            <td> 
                <asp:LinkButton Text="Activate Exam" runat="server" 
                    OnClick="designExamActivation_Click" meta:resourcekey="LinkButtonResource3"/>                
            </td>
         </tr>         
    </table>
</asp:Content>


